package com.lagou.order.feign;

import Com.lagou.common.pojo.Goods;
import org.springframework.stereotype.Component;

@Component
public class GoodsFeignFallBack implements GoodsFeign {
    @Override
    public Goods queryById(Integer id) {
        return null;
    }

    @Override
    public String getPort() {
        //返回兜底数据
        return "-1";
    }
}
